﻿using Domain.Entitys.Inv;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Appliaction.Dto.Inv
{
    public class Inv_othwrproddtlAddDto
    {
      

        /// <summary>
        /// 入库单ID
        /// </summary>
        public int Othwr_id { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string Pro_name { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        public string Pro_code { get; set; }

        /// <summary>
        /// 品牌
        /// </summary>
        public string Pro_brand { get; set; }

        /// <summary>
        /// 单位ID（单位信息关联）
        /// </summary>
        public string unitmeas_id { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        public decimal Othwrproddtl_numder { get; set; }

        /// <summary>
        /// 待入库数量
        /// </summary>
        public decimal Inventory_numder { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Pro_model { get; set; }
        /// <summary>
        /// 入库库位编号
        /// </summary>
        public string location_code { get; set; }
        /// <summary>
        /// 入库库位名称
        /// </summary>
        public string location_name { get; set; }

        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime? Othwrproddtl_time { get; set; }

        /// <summary>
        /// 入库员
        /// </summary>
        public string  Othwrproddtl_yuan { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal pro_cost_price { get; set; }

        /// <summary>
        ///  成本价
        /// </summary>
        public decimal pro_sale_price { get; set; }


        public string ? stock_entry_no { get; set; }


        /// <summary>
        /// 创建人
        /// </summary>
        public string create_by { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? Create_Time { get; set; }


        public string Vendor_code { get; set; }//供应商编码

        public string Vendor_name { get; set; } //供应商昵称

    }
}
